#ifndef MACHINECORRECT_H
#define MACHINECORRECT_H

#include <QWidget>
#include "src/device/Machine/MachineHelper.h"


namespace Ui {
class MachineCorrect;
}

class MachineCorrect : public QWidget
{
    Q_OBJECT

public:
    explicit MachineCorrect(QWidget *parent = 0);
    ~MachineCorrect();

private slots:

    void on_pb_gotoG_clicked();

    void on_pb_gotoR_clicked();

    void on_pb_gotoA_clicked();

    void on_vs_gL_valueChanged(int value);

    void on_vs_rL_valueChanged(int value);

    void on_vs_aL_valueChanged(int value);

private:
    Ui::MachineCorrect *ui;

    bool _isRelative;

    int max_G;
    int max_R;
    int max_A;
    int min_G;
    int min_R;
    int min_A;

};

#endif // MACHINECORRECT_H
